package com.sc.mapper;

import com.github.pagehelper.Page;
import com.sc.domain.Storage;
import com.sc.dto.StorageDto;
import com.sc.vo.StorageVo;

import java.util.List;

public interface StorageMapper {
    boolean addStorage(Storage storage);

    boolean deleteStorageById(Long id);

    boolean updateStorage(Storage storage);

    Page<StorageVo> pageQuery(StorageDto storageDTO);

    Storage selectById(Long id);

    boolean deleteStorageByIds(List<Integer> ids);
}
